package ui.extra_activity;

import android.os.Bundle;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

import com.example.mynewsapp.R;

public class RouteMapActivity extends AppCompatActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_route_map);

//        Fragment fragment = new RouteMapFragment();
//        if (fragment != null) {
//            // Activity管理Fragment的方式
//            FragmentManager fragmentManager = getSupportFragmentManager();
//            final FragmentTransaction transaction = fragmentManager.beginTransaction()
//                    .replace(R.id.container, fragment);
//            Handler handler = new Handler();
//            handler.postDelayed(new Runnable() {
//                @Override
//                public void run() {
//                    transaction.commit();
//                }
//            }, 350);
//        }
    }
}
